<?php
$this->menu=array(
	array('label'=>'Daftar', 'url'=>array('index')),
	array('label'=>'Pendaftaran', 'url'=>array('create')),
	array('label'=>'Pemeliharaan', 'url'=>array('admin')),
);
?>

<h1>Download Data Pendaftaran Munas</h1>

<div class="form">

	<?php
	$props = array(
		'id'=>'registration-form',
		'enableAjaxValidation'=>false,
	);
	$form = $this->beginWidget('CActiveForm', $props);
	?>

	<p class="note">
		Fields with <span class="required">*</span> are required.
	</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php
		$htmlOptions = array('style'=>'width: 10em;');
		echo $form->labelEx($model, 'beginDate');
		echo $form->textField($model, 'beginDate', $htmlOptions);
		echo $form->error($model, 'beginDate');
		?>
	</div>

	<div class="row">
		<?php
		echo $form->labelEx($model, 'endDate');
		echo $form->textField($model, 'endDate', $htmlOptions);
		echo $form->error($model, 'endDate');
		?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Download'); ?>
	</div>

	<?php $this->endWidget(); ?>

</div><!-- form -->